<template>
	<view>
		
		<view class="about-head">
			<view class="about-logo"
			 :style="{ backgroundImage: 'url(/static/avatar.png)', backgroundSize: '100% 100%' }"
			>
			</view>
			<view class="about-title">
				茂名荔枝信息平台
			</view>
			<view class="about-banben">
				版本号 v{{ version }}
			</view>
		</view>
		
		<view class="nav-item-group">
			<view class="nav-item nav-item-2 nav-item-3 clickc" @click="clickFuwu">
				<view class="label">
					服务协议
				</view>
				<view class="nav-arrow">
					<image src="../../static/fangxiang@3x.png" mode=""></image>
				</view>
			</view>
			<view class="nav-item nav-item-2 nav-item-3 clickc" @click="clickYinsi">
				<view class="label">
					隐私政策
				</view>
				<view class="nav-arrow">
					<image src="../../static/fangxiang@3x.png" mode=""></image>
				</view>
			</view>
		</view>
		
		<view class="copyright">
			<view class="p">
				版权所有 © 2021 - 2022
			</view>
			<view class="p">
				茂名市农业科技推广中心
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				version: '1.0.1'
			};
		},
		methods: {
			clickFuwu() {
				uni.navigateTo({
					url:'/pages/my/agreement'
				})
			},
			clickYinsi() {
				uni.navigateTo({
					url:'/pages/my/agreement'
				})
			}
		}
	}
</script>

<style lang="scss">
.about-head{
	text-align: center;
	padding-top: 20rpx;
	padding-bottom: 12rpx;
	.about-logo{
		width: 150rpx;
		height: 150rpx;
		margin: 0 auto;
	}
	.about-title{
		font-size: ($font-size-lg);
		font-weight: bold;
		color: #333;
		padding-top: 20rpx;
		padding-bottom: 10rpx;
	}
	.about-banben{
		text-align: center;
		font-size: 24rpx;
		color: #999;
	}
}
.page-settings-about{
	position: relative;
	height: 100%;
}
uni-page-body{
	height: 100%;
}
.copyright{
	text-align: center;
	font-size: 24rpx;
	color: #999;
	bottom: 100rpx;
	position: fixed;
	width: 100%;
	p{
		text-align: center;
	}
}
</style>
